package com.yu.myhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.yu.pojo.CommonResult;

/**
 * @author yutao
 * @date 2021/11/23 22:19
 */
public class CustomerBlockHandler {

    public static CommonResult handleException(BlockException e){
        return new CommonResult(444,"按照客户自定义，全局 handlerException--1");
    }
    public static CommonResult handleException2(BlockException e){
        return new CommonResult(444,"按照客户自定义，全局 handlerException--2");
    }
}
